package org.yogurtcat.server.modules.system.user.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.Repository;
import org.yogurtcat.server.modules.system.user.domain.User;

public interface UserRepository extends Repository<User, Long>, JpaSpecificationExecutor<User> {
	
	User save(User user);

	void delete(User user);

	User findByUsername(String username);
}
